package com.order.service;

import com.order.dto.DishDTO;
import com.order.dto.DishPageQueryDTO;
import com.order.entity.Dish;
import com.order.result.PageResult;
import com.order.vo.DishVO;

import java.util.List;

public interface DishService {
    public void saveDishWithFlavor(DishDTO dishDTO);//新增餐品及其口味


    PageResult pageQuery(DishPageQueryDTO dishPageQueryDTO);

    void deleteBatch(List<Long> ids);


    DishVO getByIdWithFlavor(Long id);

    void update(DishDTO dishDTO);

    void setStatus(Integer status, Long id);

    List<Dish> getByCategoryId(Long categoryId);
}
